/**
 * Created by Mark_ren on 2016/11/28.
 * 苟富贵,無相忘
 */
var express = require('express');
var router = express.Router();
var pfQuestionController = require("../../api/v2.0/admin/pfQuestion_controller.js");


router.get('/', pfQuestionController.getPfQuestionPage);

router.get('/:id', pfQuestionController.getPfQuestionById);

router.post('/', pfQuestionController.addPfQuestion);

router.put('/:id', pfQuestionController.updatePfQuestion);

router.delete('/', pfQuestionController.deletePfQuestion);

module.exports = router;